@import "./base/mixin";
@import "./base/layout.scss";

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
    /*background-color: #f0f3f4;*/
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixed {
    position: fixed;
}

#nprogress {
    .bar {
        z-index: 666666;
    }
    .spinner {
        z-index: 666666;
    }
}

//Vue 过渡动画
.fade-enter-active,
.fade-leave-active {
    transition: all .2s ease
}

.fade-enter,
.fade-leave-active {
    opacity: 0;
}

//main-container全局样式
.pagination-container {
    margin-top: 30px;
}
.filter-container {
    padding-bottom: 10px;
    .filter-item {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
    }
}

//布局
.layout-wrapper {

    .layout-header {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 111111;
        height: $header-height;
        background-color:#eef1f6;
        box-shadow: 0 0 3px rgba(0,0,0,.5);
    }
    .layout-sidebar {
        transition: width 0.28s ease-out;
        width: 200px;
        height: 100%;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        overflow-y: auto;
        background: #5e7382;
        padding-top: $header-height;
        box-sizing: border-box;
        &::-webkit-scrollbar {
            display: none
        }
    }

    .layout-content {

        position: relative;
        top: $header-height;

        min-height: 100%;
        transition: margin-left 0.28s ease-out;
        margin-left: 200px;
        color: #1f2d3d;
        .level-bar {
            height: 50px;
            line-height: 50px;
            padding: 0 10px;
            background: #1f2d3d;
        }
        section.app-container{
            padding: 20px;
        }
    }

}
